import fetch from 'utils/fetch';
//领取任务
export function getTask(obj) {
    return fetch({
        url: '/api/admin/approval/getApprovalTasks',
        method: 'post',
        data: obj
    });
}
//分页
export function page(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/businessApprovalListPage',
        method: 'get',
        params: query
    });
}
//统计
export function approvalData(query) {
    return fetch({
        url: '/api/admin/approval/approvalCheck4User',
        method: 'get',
        params: query
    });
}
// 任务类型
export function selectPtermCount(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/selectPtermCount',
        method: 'post',
        data: obj
    });
}